projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
638a3c1
)
css: Letterspacing affects text size
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Apr 2019 17:34:44 +0000
(17:34 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Apr 2019 17:34:44 +0000
(17:34 +0000)
It does. And we were missing the proper
flags to make GTK do the right thing when
changing letter-spacing in the inspector.
gtk/gtkcssstylepropertyimpl.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssstylepropertyimpl.c
b/gtk/gtkcssstylepropertyimpl.c
index 6304c899fea4cc971ed194b13862a85bd54adda3..251adb4a9a614ab32644f9c294a2d6e1990ae357 100644
(file)
--- a/
gtk/gtkcssstylepropertyimpl.c
+++ b/
gtk/gtkcssstylepropertyimpl.c
@@
-1030,7
+1030,7
@@
_gtk_css_style_property_init_properties (void)
GTK_CSS_PROPERTY_LETTER_SPACING,
G_TYPE_NONE,
GTK_STYLE_PROPERTY_INHERIT | GTK_STYLE_PROPERTY_ANIMATED,
- GTK_CSS_AFFECTS_TEXT_ATTRS,
+ GTK_CSS_AFFECTS_TEXT_ATTRS
| GTK_CSS_AFFECTS_TEXT_SIZE
,
parse_letter_spacing,
NULL,
_gtk_css_number_value_new (0.0, GTK_CSS_PX));